package com.study.talk.entity;




import com.study.talk.entity.vo.GroupInfoVo;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * <p>
 * 
 * </p>
 *
 * @author thor
 * @since 2023-12-18
 */
public class GroupInfo implements Serializable {

    

      //("群聊id")
    
    private Integer id;

      //("创建群聊用户id")
    private Integer mainUser;

      //("群聊名称")
    private String name;

      //("群聊图片地址")
    private String avatar;

      //("群聊背景图片")
    private String bgImg;

      //("群聊标签")
    private String tag;

      //("群聊介绍")
    private String introduce;

      //("创建时间")
    private String createTime;

    public GroupInfo(GroupInfoVo groupInfoVo) {
        this.name = groupInfoVo.getName();
        this.avatar = groupInfoVo.getAvatar();
        this.bgImg = groupInfoVo.getBgImg();
        this.tag = groupInfoVo.getTag();
        this.introduce = groupInfoVo.getIntroduce();
        this.mainUser = groupInfoVo.getMainUser();
    }

    public GroupInfo() {
    }

    public GroupInfo(Integer id, Integer mainUser, String name, String avatar, String bgImg, String tag, String introduce, String createTime) {
        this.id = id;
        this.mainUser = mainUser;
        this.name = name;
        this.avatar = avatar;
        this.bgImg = bgImg;
        this.tag = tag;
        this.introduce = introduce;
        this.createTime = createTime;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMainUser() {
        return mainUser;
    }

    public void setMainUser(Integer mainUser) {
        this.mainUser = mainUser;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getBgImg() {
        return bgImg;
    }

    public void setBgImg(String bgImg) {
        this.bgImg = bgImg;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
